﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;

namespace XmlSockets
{
    class ClientXmlSocket
    {
        internal void Close()
        {
            throw new NotImplementedException();
        }

        internal Task SendAsync(System.Xml.Linq.XElement element)
        {
            throw new NotImplementedException();
        }


        internal Task SendAsync(Action<XmlWriter> action)
        {
            throw new NotImplementedException();
        }


        internal void Dispose()
        {
            throw new NotImplementedException();
        }

        internal System.Threading.Tasks.Task ConnectAsync(string p1, int p2)
        {
            throw new NotImplementedException();
        }

        public bool Connected { get; set; }

        internal ClientXmlSocket(XmlSocketCreateInfo createInfo, SynchronizationContext synchronizationContext) { }

        public event Action<ClientXmlSocketCloseEventArgs> Closed;


        public event Action<ClientXmlSocketReceiveEventArgs> Received;
    }
}
